package ModelLayer;

/**
 *
 * @author Gruppe 2
 */
public abstract class Person {
    private int personID;
    private String name;
    private String address;
    private int zipCode;
    private int zipCityID;
    private String city;
    private String phoneNo;
    private String type;
    private String country;
    private int countryID;
    private String countryPhone;



    public Person(int personID, String name, String address, int zipCode,
            String city, String phoneNo, String type, String country , int zipCityID, int countryID)
    {
        this.personID = personID;
        this.name = name;
        this.address = address;
        this.zipCode = zipCode;
        this.city = city;
        this.phoneNo = phoneNo;
        this.type = type;
        this.country = country;
        this.zipCityID = zipCityID;
        this.countryID = countryID;
    }


    public Person()
    {

    }

    public Person(String name)
    {
        this.name = name;
    }

    public int getPersonID()
    {
        return personID;
    }

    public void setPersonID(int personID)
    {
        this.personID = personID;
    }
    
    public String getAddress()
    {
        return address;
    }

    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getCity()
    {
        return city;
    }

    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCountry()
    {
        return country;
    }

    public void setCountry(String country)
    {
        this.country = country;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getPhoneNo()
    {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo)
    {
        this.phoneNo = phoneNo;
    }

    public String getType()
    {
        return type;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public int getZipCode()
    {
        return zipCode;
    }

    public void setZipCode(int zipCode)
    {
        this.zipCode = zipCode;
    }
    public int getZipCityID()
    {
        return zipCityID;
    }
    public void setZipCityID(int cityId)
    {
        this.zipCityID = cityId;
    }

    public int getCountryID()
    {
        return countryID;
    }

    public void setCountryID(int countryID)
    {
        this.countryID = countryID;
    }
    public String getCountryPhone()
    {
        return countryPhone;
    }

    public void setCountryPhone(String countryPhone)
    {
        this.countryPhone = countryPhone;
    }
}

